package de.koller.reason;

import de.koller.oceanFramework.gl.OceanGame;
import javax.swing.UIManager;

public class ReasonStart {

	public static final int WIDTH = 1024, HEIGHT = 600;
	public static final String TITLE = "Reason v0.0";

	public static void main( String[] args ) {
		try {
//			UIManager.setLookAndFeel( "javax.swing.plaf.nimbus.NimbusLookAndFeel" );
//			UIManager.setLookAndFeel( "com.sun.java.swing.plaf.motif.MotifLookAndFeel" );
//			UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );
			UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
		} catch( Exception e ) {
			System.out.println("Error setting native LAF: " + e);
		}
		
		OceanGame.enableClientChoose = true;
		OceanGame game;
//		game = OceanGame.create( TITLE );
		game = OceanGame.create( TITLE, WIDTH, HEIGHT, 32, 60, true, false );
		game.getRoot().addChild( new RRoot() );
		game.start();
	}
	
}
